/**
 * SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
 * SPDX-License-Identifier: Mulan PSL v2
 */
<template>
    <div class="select_training__container">
        <transfer-double
            ref="transferDouble"
            :right-title="_('训练数据')"
            :right-title-second="_('标签数据')"
            :right-data="rightData"
            :left-data="leftData"
            :right-data-second="secondRightData"
            :init-data="initData" />
    </div>
</template>
    
<script >


import transferDouble from './transfer_double.vue';
export default {
    props:{
        initData:{
            default:()=>[],
            type:Array
        },
        leftData:{
            default:()=>[],
            type:Array
        },
        rightData:{
            default:()=>[],
            type:Array
        },
        secondRightData:{
            default:()=>[],
            type:Array
        }
    },
    components:{
        transferDouble
    },
    methods:{
        reset () {
            this.$refs.transferDouble && this.$refs.transferDouble.reset();
        },
        getJsonValue () {
            let formData = this.$refs.transferDouble.getJsonValue();
            return formData;
        }
    }
  
    
};
    
</script>
<style lang="less">
    .select_training__container{
        margin: 15px 0;
    }
    @media screen and (max-width: 1366px) {
        .select_training__container{
            height: 400px;
        }
    }
</style>